<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type='text/javascript' src='jmarty.js'></script>
<script type='text/javascript' src='ajax.js'></script>

<script>
var html = ajax( 'jmarty.php' );
$.setTpl( html );
$.assign( 'name', 'Victor' );
var array = {
  1: {'id': 1, 'name':'王  军', 'age': 27, 'phone': '13112345678', 'province': '湖北', 'time': '2010-05-01 00:00:00'},
  2: {'id': 2, 'name':'李佳一', 'age': 21, 'phone': '13112345678', 'province': '山东', 'time': '2010-05-05 00:00:00'},
  3: {'id': 3, 'name':'张  闯', 'age': 24, 'phone': '13112345678', 'province': '湖南', 'time': '2010-04-01 00:00:00'},
  4: {'id': 4, 'name':'赵  曼', 'age': 30, 'phone': '13112345678', 'province': '北京', 'time': '2010-06-01 00:00:00'},
  5: {'id': 5, 'name':'司马蓝', 'age': 25, 'phone': '13112345678', 'province': '上海', 'time': '2010-05-23 10:00:00'}
  };
$.assign( 'data', array );
$.display();
</script>